<?php

class Model_StaruserHiliteuser extends Model {

    function __construct() {
        
    }

    function getList() {
        $result = array();
        $param = array();
        $param['field'] = "TB1.mid,TB1.title,TB2.username,TB1.photo_image1 as photo";
        $param['where'] = "TB1.status=1";
        $param['order'] = " sequence asc";
        $param['group'] = "";
        $param['limit'] = 1;
        $param['pagesize'] = 1;
        $param['page'] = 1;
        $param['join'] = "LEFT JOIN member_imore";
        $param['on'] = "TB1.mid = TB2.id";
        $data = db_query_hash('hilite_staruser_hiliteuser', $param);


        if ($data['result']) {
            $result = $data['result'][0];
        }

        return $result;
    }

}

?>